import request from '@/utils/request'

// 分销申请列表
export function getApplyLists(query) {
    return request({
        url: '/joining/busin.Dist/getApplyLists',
        method: 'post',
        params: query
    })
}

// 分销_审核申请信息
export function examApply(query) {
    return request({
        url: '/joining/busin.Dist/examApply',
        method: 'post',
        params: query
    })
}

// 分销员列表
export function getDistLists(query) {
    return request({
        url: '/joining/busin.Dist/getDistLists',
        method: 'post',
        params: query
    })
}

// 分销_分销员详情
export function getDistInfo(query) {
    return request({
        url: '/joining/busin.Dist/getDistInfo',
        method: 'post',
        params: query
    })
}

// 分销_分销员编辑
export function setDistInfo(query) {
    return request({
        url: '/joining/busin.Dist/setDistInfo',
        method: 'post',
        params: query
    })
}

// 分销_分销员启用/禁用
export function setDistStatus(query) {
    return request({
        url: '/joining/busin.Dist/setDistStatus',
        method: 'post',
        params: query
    })
}

// 分销_下级会员列表(全部,不分页)
export function getBelowListsAll(query) {
    return request({
        url: '/joining/busin.Dist/getBelowListsAll',
        method: 'post',
        params: query
    })
}